package org.thinker.dao.member;

import java.util.List;

import org.springframework.stereotype.Repository;
import org.thinker.common.AbstractDAO;
import org.thinker.util.MyCriteria;
import org.thinker.vo.MemberVO;

@Repository("memberDAO")
public class MemberDAOImpl extends AbstractDAO<MemberVO, String> implements MemberDAO{
	
	public MemberDAOImpl(){
		super.setNamespace("member");
	}

	@Override
	public void selectUser(MemberVO vo) throws Exception {
		MemberVO temp = (MemberVO)getSqlMap().queryForObject(namespace + ".selectUser", vo);
		vo.setUserName(temp.getUserName());
		vo.setUserNickName(temp.getUserNickName());
	}

	@Override
	public String selectId(MemberVO vo) throws Exception {
		return null;
	}

	@Override
	public String selectPw(MemberVO vo) throws Exception {
		return null;
	}

	@Override
	public List<MemberVO> getMemberList(MyCriteria cri) throws Exception {
		return null;
	}	
	
}
